package com.ruoyi.contract.domain.invoiceVo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @program: Smart-contract-management-system-replica-system
 * @description: 发票导出
 * @author: coderChen
 * @create: 2024-10-28 09:58
 **/

public class InvoiceExport {

    @Excel(name = "序号", sort = 1)
    private Integer index;

    /** 发票所属公司 */
    @Excel(name = "发票所属公司",sort = 2)
    private String belongingCompanyName;

    /** 发票类型 */
    @Excel(name = "发票类型",sort = 3,readConverterExp = "0=销项发票,1=进项发票")
    private String type;

    /** 发票金额 */
    @Excel(name = "发票金额",sort = 6)
    private BigDecimal money;

    /** 公司名称 */
    @Excel(name = "销方公司",sort = 7)
    private String salName;

    /** 公司税号 */
    @Excel(name = "销方税号" ,sort = 8)
    private String salTaxNumber;

    /** 开户银行 */
    @Excel(name = "销方开户银行",sort = 10)
    private String salBank;

    /** 银行账号 */
    @Excel(name = "销方银行账号",sort = 9)
    private String salBankAccount;

    /** 公司名称 */
    @Excel(name = "购方公司",sort = 11)
    private String name;

    /** 公司税号 */
    @Excel(name = "购方税号" ,sort = 12)
    private String taxNumber;

    /** 开票日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开票日期", width = 30, dateFormat = "yyyy-MM-dd" ,sort = 4)
    private Date invoiceTime;

    /** 财务入账类别 */
    @Excel(name = "财务入账类别",sort = 13)
    private String accountType;

    /** 上传者 */
    @Excel(name = "上传者" ,sort = 14)
    private String addUser;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd",sort = 15)
    private Date addTime;

    /** 修改者 */
    @Excel(name = "修改者",sort = 16)
    private String updateUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss",sort = 17)
    private Date updateTime;

    /** 备注 */
    @Excel(name = "备注",sort = 18)
    private String remark;

    /** 发票内容 */
    @Excel(name = "发票内容",sort = 5)
    private String content;

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public String getBelongingCompanyName() {
        return belongingCompanyName;
    }

    public void setBelongingCompanyName(String belongingCompanyName) {
        this.belongingCompanyName = belongingCompanyName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getSalName() {
        return salName;
    }

    public void setSalName(String salName) {
        this.salName = salName;
    }

    public String getSalTaxNumber() {
        return salTaxNumber;
    }

    public void setSalTaxNumber(String salTaxNumber) {
        this.salTaxNumber = salTaxNumber;
    }

    public String getSalBank() {
        return salBank;
    }

    public void setSalBank(String salBank) {
        this.salBank = salBank;
    }

    public String getSalBankAccount() {
        return salBankAccount;
    }

    public void setSalBankAccount(String salBankAccount) {
        this.salBankAccount = salBankAccount;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTaxNumber() {
        return taxNumber;
    }

    public void setTaxNumber(String taxNumber) {
        this.taxNumber = taxNumber;
    }

    public Date getInvoiceTime() {
        return invoiceTime;
    }

    public void setInvoiceTime(Date invoiceTime) {
        this.invoiceTime = invoiceTime;
    }

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    public String getAddUser() {
        return addUser;
    }

    public void setAddUser(String addUser) {
        this.addUser = addUser;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
